package com.itheima01;

import java.util.Scanner;

public class Scanner02 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.print("请输入一个字符串：");
        String s = sc.next();
        System.out.println("您输入的字符串是："+s);

    }
}
